import request from "@/utils/request";

export const provinceAPI = () => {
  return request.get("/api/province");
};

export const cityAPI = (pro) => {
  return request.get("/api/city", { params: { pname: pro } });
};

export const areaAPI = (province, city) => {
  return request.get("/api/area", { params: { pname: province, cname: city } });
};
